home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-18 / eabk10.zip / README.DOC < prev   
Text File  |  1992-04-21  |  31KB  |  610 lines

  1.  
  2.  
  3.                        Version 1.01. April 21, 1992
  4.  
  5.  
  6.                              Table of Contents
  7.  
  8.         IMPORTANT INFORMATION   Read this first. Contains obligatory legal
  9.                                 stuff as well as information about how to
  10.                                 reach the author.
  11.  
  12.         I.   Overview           General description of programs.
  13.  
  14.         II.  Installation and   Pointing to EAUTIL.EXE using /P. Temporary
  15.              Usage Consider-    work files (types, space requirements,
  16.              ations             relocation, improving performance). EA size
  17.                                 reported by EABACKUP vs that reported by
  18.                                 CHKDSK. Performance tips.
  19.  
  20.         III. Command Syntax     Syntax of EABACKUP and EARESTOR.
  21.                                 Description of required and optional
  22.                                 command line parameters.
  23.  
  24.         IV.  Backing Up In-Use  Advice on handling in-use conditions that
  25.              files              arise.
  26.  
  27.         V.   Backup Files       Description of backup files produced by
  28.                                 EABACKUP.  Copying backup files.
  29.  
  30.         VI.  Selective Restore  Explains how to restore selected
  31.                                 directories.  Describes the directory
  32.                                 structure of the backup index.
  33.  
  34.         VII. Environment        Environment variables recognized by
  35.              Variables          EABACKUP and EARESTOR.
  36.  
  37.         VIII. Examples          Backup using the /P option, backup to hard
  38.                                 disk directory, list backup index, delete
  39.                                 backed up EA's, restore EA's, restore
  40.                                 selected EA's.
  41.  
  42.  
  43.                         ** IMPORTANT INFORMATION **
  44.  
  45.      This software is freeware.  However, If you find the programs useful
  46.      an ENTIRELY OPTIONAL contribution of $5 would be appreciated.
  47.      Contributions should be sent to the author at the mailing address
  48.      given at the end of this section.
  49.  
  50.      The author grants all recipients of this software and documentation
  51.      permission to freely copy and use it.  Permission to distribute the
  52.      software to others is also granted on the condition that this
  53.      "IMPORTANT INFORMATION" section is included in its entirety as part of
  54.      any such transfer and as long as no additional conditions are added.
  55.  
  56.      DISCLAIMER : Please note that this software is provided on an as-is
  57.      basis.  The author does not warrant that the functions contained in
  58.      this software will meet your requirements or that the operation of the
  59.      software will be uninterrupted or error free.  The author will not be
  60.      liable for any loss of profit, data, or use of the software, or
  61.      special, incidental, or consequential damages, or other similar
  62.      claims, even if the author has been advised of the possibility of such
  63.      damages.  With any backup software, it is good practice to test it on
  64.      your own equipment, using non-critical data, before considering it for
  65.      day-to-day use.
  66.  
  67.      Inquiries, complaints, suggestions for improvement, and contributions
  68.      may be directed to the author via Compuserve E-Mail or by letter.  The
  69.      appropriate addresses are :
  70.  
  71.         Compuserve ID   :       71040,736
  72.  
  73.         Mailing Address :       David Thorn
  74.                                 4056 NE 86th Street
  75.                                 Seattle, WA 98115
  76.  
  77.  
  78.                 ** END OF IMPORTANT INFORMATION SECTION **
  79.  
  80.      
  81.  
  82.  
  83.                                I.  Overview
  84.  
  85.      EABACKUP and EARESTOR are  utility programs designed to backup and
  86.      restore extended attributes associated with OS/2 files.  The programs
  87.      are run from the command line in  an OS/2 windowed or fullscreen
  88.      session.  All extended attributes in a single directory or in a
  89.      directory and its sub-directories may be backed up in one pass.
  90.      Backups may be made to a fixed disk or to a floppy.  Individual files
  91.      and directories may be restored selectively and an option is provided
  92.      that allows previously backed up extended attributes to be deleted.
  93.      To operate, EABACKUP and EARESTOR require the use of the IBM program
  94.      EAUTIL.EXE supplied with your OS/2 version 1.x or 2.0 base operating
  95.      system.
  96.  
  97.      Extended attributes (EA's) were introduced with OS/2 1.2.  They are
  98.      objects associated with, but not actually part of, many OS/2 files.
  99.      OS/2 commands and utilities (such as COPY, XCOPY, BACKUP, and RESTORE)
  100.      recognize EA's and maintain the integrity of the association between
  101.      an EA and its parent file.  For example, when a file is copied or
  102.      moved using one of these commands, they copy or move the EA as well.
  103.      In contrast programs written to run under DOS, including many DOS
  104.      backup programs, do not recognize the existence of EA's.
  105.      Indescriminant use of these programs can result in "lost" EA's (a lost
  106.      EA is one that has become disconnected from its associated file).
  107.      Often lost EA's are only an annoyance, tieing up disk space to no
  108.      purpose and causing CHKDSK errors.  More serious problems may occur,
  109.      however, if EA's are disconnected from certain OS/2 system files or
  110.      files needed by OS/2 applications that recognize and use EA's (for a
  111.      more detailed discussion of EA's see EADAT2.ZIP in library 2 of the
  112.      Compuserve IBMOS2 forum).
  113.  
  114.      To provide a solution to this problem, IBM supplies the EAUTIL.EXE
  115.      utility with the OS/2 1.x and 2.0 base systems.  This utility can
  116.      split an EA from its parent file and place it in a holding file that a
  117.      non EA-aware program can recognize and manipulate.  It can also
  118.      reconnect an EA contained in a holding file to its parent.  One could
  119.      conceivably use EAUTIL to allow a non EA-aware backup program to
  120.      backup EA's.  Unfortunately, each invocation of EAUTIL can only
  121.      process a single file.  Thus EAUTIL would have to be invoked a
  122.      separate time for each file to be backed up.  This is clearly
  123.      impractical when large numbers of files are involved.
  124.  
  125.      EABACKUP and EARESTOR are designed to overcome this limitation of
  126.      EAUTIL.  EABACKUP automatically invokes EAUTIL to extract the EA's of
  127.      every file in a single directory or a directory and its sub-
  128.      directories.  The extracted EA's are copied to a single backup file on
  129.      a floppy or hard disk.  EARESTOR uses this backup file to restore the
  130.      EA's to their parents.  Since these programs invoke EAUTIL to actually
  131.      perform the extraction and reattachment of the EA's they should work
  132.      for any release of OS/2 that provides a version of EAUTIL.
  133.  
  134.                  II. Installation and Usage Considerations
  135.  
  136.      1) EABACKUP.EXE and EARESTOR.EXE may be run from anywhere but be aware
  137.         that they must have access to the IBM utility EAUTIL.EXE supplied
  138.         with OS/2.  They locate this utility by searching the directories
  139.         specified in the "PATH" environment variable or alternatively in
  140.         the directory specified in the "/P" command line option (see
  141.         Command Syntax below).
  142.  
  143.      2) EABACKUP and EARESTOR both use temporary work files as part of
  144.         their processing.  There are two types of work files.  The first is
  145.         used to provide a scratch pad area for the backup index and the
  146.         second is used to provide a temporary holding area for EA's as they
  147.         are moved to and from the backup disk.  The size of the EA holding
  148.         file should not exceed 64K which is the maximum size of EA's under
  149.         OS/2 versions 1.x and 2.0.  The maximum size of the index scratch
  150.         pad area varies depending on the number of files and directories
  151.         processed and the size of the file names.  100K should be more than
  152.         sufficient for most situations.
  153.         
  154.         The default location of EABACKUP's work files is the root directory
  155.         of the source disk.  For EARESTOR it is the root directory of the
  156.         destination disk.  Alternate locations for both types of work files
  157.         can specified by using the EATEMPW and EATEMPF environment
  158.         variables or the "/W" and "/F" command line options.  EATEMPW and
  159.         /W relocate the index scratch pad while EATEMPF and /F do the same
  160.         for the EA holding file.  Significant performance improvement can
  161.         be obtained by using EATEMPF or /F to relocate the holding file to
  162.         a virtual (RAM) disk (for information on setting up a RAM disk see
  163.         the OS/2 command reference). The minimum size of this disk should
  164.         be the size of the largest possible EA (64K).
  165.  
  166.      3) When backing up all EA's on a FAT based drive, the total length of
  167.         the EA's reported by EABACKUP will generally be considerably less
  168.         than the amount of allocated EA space reported by CHKDSK.  This is
  169.         normal.  The number reported by EABACKUP represents the amount of
  170.         the space reserved for EA's that actually contained data.  The
  171.         difference between the EABACKUP and CHKDSK numbers represents space
  172.         that was allocated but unused.  There normally is a large amount of
  173.         unused space since the minimum allocation for an EA is equal to the
  174.         cluster size for the disk.  The cluster size varies depending on
  175.         the disk capacity but is usually 2048 bytes or more.  A 100 byte EA
  176.         will allocate 2048 bytes, 1948 of which will be unused (and
  177.         unusable unless that particular EA expands).
  178.  
  179.      4) A number of things can be done to improve performance. These are
  180.         listed in decreasing order of efficacy.
  181.  
  182.         a) Use the /F command line option or the EATEMPF environment
  183.            variable to direct the EA holding file to a RAM disk of 64K in
  184.            size or more (see VDISK.SYS in the OS/2 Command Reference on
  185.            setting up a RAM disk).
  186.  
  187.         b) Use the hard disk as the target for EABACKUP files or the source
  188.            of EARESTOR files. After they are created backup files produced
  189.            by EABACKUP may be copied to a floppy or backed up using normal
  190.            DOS backup software (see section V. for more on backup files).
  191.  
  192.         c) Adjust DISKCACHE parameters to reduce load time for EAUTIL.EXE
  193.            or copy EAUTIL.EXE to a RAM disk and point to it using the /P
  194.            command line option or the PATH environment variable.
  195.  
  196.         
  197.                             III. Command Syntax
  198.  
  199.      In the following, source_path, destination_path, and path_name should
  200.      be replaced by a valid OS/2 path name (with or without a drive
  201.      specifier) or a drive specifier alone (eg A:, B:, etc).  If a path
  202.      name is specified without a drive specifier then EABACKUP assumes the
  203.      source drive and EARESTOR assumes the destination drive.  If a drive
  204.      specifier is specified without a path then the current directory on
  205.      that drive is assumed.
  206.  
  207.      source_path and destination_path are required.  All other parameters
  208.      are optional.
  209.  
  210.      
  211.  
  212.      
  213.      EABACKUP.EXE is invoked from the OS/2 command line as follows :
  214.      
  215.      |-----------------------------------------------------------------|
  216.      |    EABACKUP  source_path  destination_path                      |
  217.      |                                                                 |
  218.      |              /S  /P=path_name   /W=path_name  /F=path_name      |
  219.      |                                                                 |
  220.      |              /Q  /I                                             |
  221.      |-----------------------------------------------------------------|
  222.  
  223.      Where :
  224.  
  225.         source_path             The path name of the highest level
  226.         (required)              directory to back up.
  227.  
  228.         destination_path        The path name of the directory that will
  229.         (required)              receive the backup files.  If backing up to
  230.                                 a floppy, only the drive specifier (A:, B:
  231.                                 etc) should be used.
  232.  
  233.         /S                      Optional switch which, if specified,
  234.                                 instructs EABACKUP to process all sub-
  235.                                 directories below the directory indicated
  236.                                 in source_path as well as source_path
  237.                                 itself.
  238.  
  239.         /P=path_name            Path name of directory containing
  240.                                 EAUTIL.EXE. If this parameter is omitted
  241.                                 then EAUTIL.EXE must reside in one of the
  242.                                 directories specified in the PATH
  243.                                 environment variable.
  244.  
  245.         /W=path_name            Used to specify location of temporary work
  246.         /F=path_name            files. /W specifies the location of the
  247.                                 index scratch pad and /F specifies the
  248.                                 location of the temporary EA holding area
  249.                                 (see Installation Considerations item 2 for
  250.                                 further information). If these parameters
  251.                                 are omitted then the directories specified
  252.                                 in the environment variables EATEMPW and
  253.                                 EATEMPF determine the location of the work
  254.                                 files. If those environment variables are
  255.                                 not specified then the work files will be
  256.                                 located in the root directory of the source
  257.                                 drive.
  258.  
  259.         /Q                      Causes EABACKUP to operate in "Quiet" mode.
  260.                                 This suppresses attention getting tones
  261.                                 generated when an error occurs or when an
  262.                                 operator reply is required.
  263.  
  264.         /I                      This causes EABACKUP to continue without
  265.                                 interruption when an EAUTIL.EXE error is
  266.                                 detected (this normally happens when a file
  267.                                 is in-use).  If this parameter is omitted
  268.                                 EABACKUP will pause and ask the operator
  269.                                 for permission to proceed despite the
  270.                                 error.
  271.  
  272.      
  273.  
  274.      
  275.  
  276.      
  277.      EARESTOR.EXE is invoked from the OS/2 command line as follows :
  278.      
  279.      |-----------------------------------------------------------------|
  280.      |    EARESTOR  source_path  destination_path                      |
  281.      |                                                                 |
  282.      |               /S  /P=path_name   /W=path_name  /F=path_name     |
  283.      |                                                                 |
  284.      |               /D  /M=file_mask   /B=path_name  /L   /Q  /I      |
  285.      |-----------------------------------------------------------------|
  286.  
  287.      Where :
  288.  
  289.      
  290.  
  291.         source_path             The path name of the directory containing
  292.         (required)              the backup files.  If restoring from a
  293.                                 floppy, only the drive specifier (A:, B:,
  294.                                 etc) should be used.
  295.  
  296.         destination_path        The path name of the directory that will be
  297.         (required)              the restore target.
  298.  
  299.         /S                      Optional switch which, if specified,
  300.                                 instructs EARESTOR to process all sub-
  301.                                 directories below the directory indicated
  302.                                 in  destination_path as well as
  303.                                 destination_path itself.
  304.  
  305.         /P=path_name            Path name of directory containing
  306.                                 EAUTIL.EXE. If this parameter is omitted
  307.                                 then EAUTIL.EXE must reside in one of the
  308.                                 directories specified in the PATH
  309.                                 environment variable.
  310.  
  311.         /W=path_name            Used to specify location of temporary work
  312.         /F=path_name            files. /W specifies the location of the
  313.                                 index scratch pad and /F specifies the
  314.                                 location of the temporary EA holding area
  315.                                 (see Installation Considerations item 2 for
  316.                                 further information). If these parameters
  317.                                 are omitted then the directories specified
  318.                                 in the environment variables EATEMPW and
  319.                                 EATEMPF determine the location of the work
  320.                                 files. If those environment variables are
  321.                                 not specified then the work files will be
  322.                                 located in the root directory of the source
  323.                                 drive.
  324.  
  325.         /D                      Instructs EARESTOR to delete EA's on the
  326.                                 destination drive that correspond to those
  327.                                 contained on the backup file. The EA's on
  328.                                 the backup file itself are not affected.
  329.                                 Note that an EA that appears on the
  330.                                 destination drive but does not appear in
  331.                                 the backup file will not be deleted.
  332.                                 
  333.                                 If /D is not specified EARESTOR will
  334.                                 restore the EA's on the backup file to the
  335.                                 destination disk.
  336.  
  337.         /M=file_mask            Instructs EARESTOR to restore only those
  338.                                 EA's associated with files whose names
  339.                                 match the file_mask.  The file_mask should
  340.                                 be replaced by a valid OS/2 file name which
  341.                                 can contain wild cards (no directory should
  342.                                 be specified).  If this parameter is not
  343.                                 specified then all files will be restored
  344.                                 (equivalent to specifying /M=*).
  345.  
  346.         /B=path_name            Instructs EARESTOR to skip to the backup
  347.                                 file directory named in path_name before
  348.                                 starting the restore. The path_name should
  349.                                 not contain any drive information and
  350.                                 should be relative to the first directory
  351.                                 in the backup file. Only EA's in the backup
  352.                                 directory indicated by path_name (and its
  353.                                 children if /S is specified) will be
  354.                                 restored. For example if the backup was
  355.                                 performed on a disk with the following
  356.                                 directory structure :
  357.                                 
  358.                                                  D0
  359.                                                  |
  360.                                             |---------|
  361.                                             |         |
  362.                                            D1         D2
  363.                                             |
  364.                                        |--------|
  365.                                        |        |
  366.                                       D1A      D1B
  367.                                 
  368.                                 then /B=D1 will restore D1, D1A, and D1B to
  369.                                 the destination_path.  Similarly, /B=D1\D1A
  370.                                 will restore D1A.  Note that the name of
  371.                                 the first backup directory (D0 in this
  372.                                 example) is never included as part of
  373.                                 path_name.
  374.  
  375.         /L                      Instructs EARESTOR to list the backup
  376.                                 index.  If this option is specified then
  377.                                 the backup index will be listed but no
  378.                                 other action will be performed.  By
  379.                                 default, the listing is directed to the
  380.                                 video display.  It can be redirected to
  381.                                 another device in the normal way.
  382.  
  383.         /Q                      Causes EARESTOR to operate in "Quiet" mode.
  384.                                 This suppresses attention getting tones
  385.                                 generated when an error occurs or when an
  386.                                 operator reply is required.
  387.  
  388.         /I                      This causes EARESTOR to continue without
  389.                                 interruption when an EAUTIL.EXE error is
  390.                                 detected (this normally happens when a file
  391.                                 is in-use).  If this parameter is omitted
  392.                                 EARESTOR will pause and ask the operator
  393.                                 for permission to proceed despite the
  394.                                 error.
  395.  
  396.  
  397.                         IV. Backing Up In-Use Files
  398.  
  399.      EABACKUP and EARESTOR can not process EA's associated with files that
  400.      are in use by another process.  If you encounter this condition while
  401.      performing a backup or restore you can choose to ignore it or you can
  402.      retry the backup or restore after identifying and terminating the
  403.      process responsible.  If termination of the process is not possible,
  404.      as is the case when the condition is caused by OS/2 itself, and you
  405.      still wish to backup the EA you must use an alternate procedure,
  406.      described here, that involves booting the system from the OS/2
  407.      installation diskettes.  The procedure is as follows :
  408.  
  409.      1) Copy the IBM supplied EAUTIL.EXE from the OS/2 directory of the
  410.         hard disk on which you installed OS/2 to a drive or directory that
  411.         will not be involved in the backup.
  412.  
  413.      2) Boot OS/2 from drive A: using the OS/2 installation diskette(s).
  414.         When the boot process is complete (this will involve 1 disk change
  415.         for OS/2 version 2.0) and the first installation screen is
  416.         displayed, cancel the installation process by using the Esc key.
  417.         This should leave you at the A> prompt.
  418.  
  419.      3) Run EABACKUP or EARESTOR.  Use the /P option to point the program
  420.         to the directory to which you copied EAUTIL.EXE in Step 1.  Also,
  421.         use the /F and /W parameters to relocate the work files to a
  422.         directory or drive that will not be involved in the backup or
  423.         restore (an empty directory set aside for this purpose would be
  424.         ideal).
  425.  
  426.      Performance can be SIGNIFICANTLY improved by using the /F parameter to
  427.      direct the temporary EA holding file to a RAM disk.  The version of
  428.      OS/2 2.0 that I had access to when I wrote this program did not create
  429.      a RAM drive when booting from the floppy (but OS/2 1.3 does).  To
  430.      create one :
  431.  
  432.      1) Create a working copy of the diskette(s) used in the boot process.
  433.  
  434.      2) Check the CONFIG.SYS file (located on the last diskette used when
  435.         booting) and look for a "DEVICE=VDISK.SYS..." entry.  If one is
  436.         present then OS/2 is already creating a RAM disk.  If the disk is
  437.         at least 64K in size then you can use it as-is.  If it is smaller
  438.         you should change the parameters to make it 64K (see the VDISK.SYS
  439.         topic in the OS/2 Command Reference for information on how this is
  440.         done).  If there is no VDISK.SYS then proceed to the next step.
  441.  
  442.      3) Add a DEVICE=VDISK.SYS statement to CONFIG.SYS.  Make sure that
  443.         VDISK.SYS is on the same floppy as CONFIG.SYS.  If it isn't you
  444.         must copy it there from the OS2 directory on your hard drive.
  445.  
  446.      4) Boot from the floppy, determine the drive letter associated with
  447.         the RAM drive, and point to it using the /F option when the backup
  448.         or restore is run.
  449.  
  450.      
  451.  
  452.                               V. Backup Files
  453.  
  454.      A backup created by EABACKUP consists of two files, a data component
  455.      named EA@BDATA.EAB and an index component named EA@INDEX.EAB.  If the
  456.      backup is to a diskette and there is insufficient room on a single
  457.      diskette to hold all the backup data or the index, additional
  458.      instances of EA@BDATA.EAB and/or EA@INDEX.EAB are created on overflow
  459.      volumes.  The backup files may be copied using normal commands.  A
  460.      backup on a fixed disk can be copied to a floppy as long as the data
  461.      and index components are kept together and will fit on a single
  462.      floppy.  Similarly, a backup residing entirely on a single floppy may
  463.      be copied to a fixed disk.  In this case the data and index components
  464.      must each be copied to the same directory.  Backups residing on
  465.      multiple floppies can not be run from a fixed disk.
  466.  
  467.      
  468.  
  469.  
  470.                           VI.  Selective Restore
  471.  
  472.      Backup files produced by EABACKUP preserve information about the
  473.      directory structure of backed up data.  This information consists of
  474.      the names of any sub-directories that were backed up as a result of
  475.      using the /S parameter but does not include the name of the source
  476.      drive or initial directory.  This is illustrated by the following
  477.      example.  If the command :
  478.  
  479.                          EABACKUP E:\DIR0 A: /S
  480.  
  481.      is issued, the results are as follows :
  482.      
  483.      
  484.      Original          E:\                 Structure    (no name)
  485.      Structure          |                  on backup        |
  486.                         |                  file             |
  487.                   ------------                      -----------------
  488.                   |          |                      |       |       |
  489.                   |          |                      |       |       |
  490.                 DIR0        DIR1                 DIR0_A   DIR0_B  DIR0_C
  491.                   |                                         |
  492.                   |                                         |
  493.           ----------------                               DIR0_BA
  494.           |       |      |
  495.           |       |      |
  496.         DIR0_A  DIR0_B  DIR0_C
  497.                   |
  498.                   |
  499.                DIR0_BA
  500.      
  501.  
  502.      This relative nature of the backup's structure allows EA's to be
  503.      restored to any initial directory on any drive as long as the
  504.      directory structure under the new target location corresponds to that
  505.      under the original data source.  Using the example above, the
  506.      following command would be successful :
  507.  
  508.                          EARESTOR  A:  C:\NEW_DIR  /S
  509.  
  510.      if the target directory structure was :
  511.      
  512.                                 C:\
  513.                                  |
  514.                                  |
  515.                               NEW_DIR
  516.                                  |
  517.                           ---------------
  518.                           |      |      |
  519.                           |      |      |
  520.                        DIR0_A  DIR0_B  DIR0_C
  521.                                  |
  522.                                  |
  523.                               DIR0_BA
  524.      
  525.  
  526.      The /B parameter of EARESTOR allows a restore to selectively restore a
  527.      directory other than the initial one on the backup.  The data in
  528.      directories hierarchically above the directory specified in the /B
  529.      option is ignored.  Again using the previous example, specifying :
  530.  
  531.                 EARESTOR  A:  C:\NEW_DIR\DIR0_B  /B=DIR0_B  /S
  532.  
  533.      
  534.      would selectively restore EA's in C:\NEW_DIR\DIR0_B and
  535.      C:\NEW_DIR\DIR0_BA.
  536.  
  537.      The /M parameter causes EARESTOR to restore only those EA's whose
  538.      parent files match the file name mask specified in /M.  The file name
  539.      mask specified in /M can contain wild card characters. For example,
  540.      specifying :
  541.  
  542.                     EARESTOR A: C\NEW_DIR /S /M=*.EXE
  543.  
  544.      would only restore EA's associated with files with an EXE extension.
  545.  
  546.  
  547.               VII. Environment Variables EATEMPF and EATEMPW
  548.  
  549.      
  550.  
  551.      Two environment variables named EATEMPF and EATEMPW are recognized by
  552.      EABACKUP.EXE and EARESTOR.EXE.  They have the same meaning as the /F
  553.      and /W command line parameters (see the Command Syntax section for a
  554.      description).  To use them, include the following lines in your
  555.      CONFIG.SYS file or type them on the command line prior to running
  556.      EABACKUP or EARESTOR :
  557.  
  558.                         --------------------------------
  559.                         |    SET EATEMPW=path_name     |
  560.                         |                              |
  561.                         |    SET EATEMPF=path_name     |
  562.                         --------------------------------
  563.                                           
  564.  
  565.      Where path_name should be replaced by a valid OS/2 path name.
  566.  
  567.      The /W and /F command line options, if specified, override the value
  568.      of the corresponding environment variable.
  569.  
  570.  
  571.                                  Examples
  572.  
  573.      1) Backup EA's from current directory on the C drive to a floppy on
  574.         the A drive using /P to point to a particular version of EAUTIL.EXE
  575.         in the E:\BIN directory and using the /S option to back up
  576.         subdirectories.
  577.         
  578.                EABACKUP C: A: /P=E:\BIN /S
  579.         
  580.  
  581.      2) Backup EA's from C:\DIR0 and its subdirectories to hard disk
  582.         directory E:\BKUP with the EA holding file being directed to the G:
  583.         drive and the index work file being directed to the E:\JUNK
  584.         directory.
  585.         
  586.                EABACKUP C:\DIR0 E:\BKUP /S /F=G: /W=E:\JUNK
  587.         
  588.  
  589.      3) List backup index for data backed up in Example 2. Redirect output
  590.      to a printer :
  591.      
  592.             EARESTOR E:\BKUP C:\DIR0 /S /L > PRN:
  593.      
  594.      Pipe output to MORE filter :
  595.      
  596.             EARESTOR E:\BKUP C:\DIR0 /S /L | MORE
  597.  
  598.      4) Delete from their parents, EA's that were backed up in Example 2 :
  599.      
  600.             EARESTOR E:\BKUP C:\DIR0 /S /D
  601.  
  602.      5) Restore EA's backed up in Example 2 :
  603.      
  604.             EARESTOR E:\BKUP C:\DIR0 /S
  605.  
  606.      6) Restore only those EA's backed up in Example 2 whose parent files
  607.      have an EXE extension :
  608.      
  609.             EARESTOR E:\BKUP C:\DIR0 /S /M=*.EXE
  610.